Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[201911] [Mellanox] Read PSU fan max/min speed per PSU #8728

Merged

Conversation

Junchao-Mellanox
Copy link
Collaborator

@Junchao-Mellanox Junchao-Mellanox commented Sep 10, 2021

Backport #8563 to 201911

Why I did it

New PSU could install different type of fan, so fan max/min speed should be read per PSU

How I did it

The existing implementation read PSU max/min fan speed from a common file, change it to read from per PSU file

How to verify it

Manual test

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

New PSU could install different type of fan, so fan max/min speed should be read per PSU

The existing implementation read PSU max/min fan speed from a common file, change it to read from per PSU file

Manual test

Conflicts:
	platform/mellanox/mlnx-platform-api/sonic_platform/fan.py
@Junchao-Mellanox
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 8728 in repo Azure/sonic-buildimage

@yozhao101
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yozhao101
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@keboliu
Copy link
Collaborator

keboliu commented Sep 12, 2021

/azpw run

@liat-grozovik liat-grozovik changed the title [Mellanox] [201911] Back port "Read PSU fan max/min speed per PSU (#8563)" to 201911 [201911] [Mellanox] Read PSU fan max/min speed per PSU Sep 12, 2021
@liat-grozovik
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Collaborator Author

Junchao-Mellanox commented Sep 13, 2021

slave.mk:561: recipe for target 'target/docker-sonic-mgmt-framework.gz' failed

seems the failure is not related to this PR.

@abdosi
Copy link
Contributor

abdosi commented Sep 13, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@abdosi abdosi merged commit 30f2503 into sonic-net:201911 Sep 13, 2021
Copy link
Contributor

@abdosi abdosi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Junchao-Mellanox Junchao-Mellanox deleted the update-psu-fan-max-min-201911 branch September 14, 2021 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants